<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>4-6</title>
  <script src='vue/vue.js'></script>
</head>
<!-- 

 -->
<body>
  <div id="root">
    <child></child> 
  </div>
  <script>
    Vue.component('child', {
      template: '<div>this is vue</div>',
    })
    var vm = new Vue({
      el: "#root",
      methods:{
      }
    })
  </script>
</body>

</html>